package com.shallowUniverse.process.context.user;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.List;

/**
 * @author gs
 * @date create in 2021/4/1 20:51
 */
@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class ProcessUser implements SysUser {

    private Long userId;
    private Long userDept;
    private String username;
    private List<Long> userRoles;
    private String userRealName;

    @Override
    public Long getUserId() {
        return this.userId;
    }

    @Override
    public Long getUserDept() {
        return this.userDept;
    }

    @Override
    public String getUsername() {
        return this.username;
    }

    @Override
    public List<Long> getUserRoles() {
        return this.userRoles;
    }

    @Override
    public String getUserRealName() {
        return this.userRealName;
    }
}
